﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using VideoClassLibrary.CacheManager;
using VideoClassLibrary.Extension;

public partial class LoginOut : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Session.Abandon();
        Response.Cookies.Clear();
        if (Request["exit"] == "exit"&&Request["T"]=="U")
        {
             CommonCacheManager.FlushCache();
            JsHelper.Redirect( "SchoolLogin.aspx", "iframe");


        }else
        {
            CommonCacheManager.FlushCache();
            JsHelper.Redirect("login.aspx", "iframe");

        
        }
    }
}
